/*
 * Created by SharpDevelop.
 * Author: Joey
 * Date: 24/09/2007
 * Time: 22:43
 * 
 * Source is copyright Joey Sabey 2007
 */

using System;
using System.Windows.Forms;

using Creatures;

namespace MonoTheism
{
	/// <summary>
	/// Class with program entry point.
	/// </summary>
	internal sealed class Program
	{
		/// <summary>
		/// Program entry point.
		/// </summary>
		[STAThread]
		private static void Main(string[] args)
		{
			String_List slParams = new String_List();
			foreach(string s in args)
			{
				slParams.Add(s);
			}
			if(slParams.Count > 0)
			{
				Output.AutoBuild(slParams);
			}
			else
			{
				Options.Load();
				Application.EnableVisualStyles();
				Application.SetCompatibleTextRenderingDefault(false);
				Application.Run(new MainForm());
			}
		}
		
		public static PRAY pyFile = new PRAY();
	}
}
